package com.app.mapper;

import com.app.model.CategoryModel;
import com.app.model.ExposureModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface ExposureMapper extends BaseMapper<ExposureModel> {
    List<ExposureModel> getListByModel(ExposureModel model);

    int getCountByModel(ExposureModel model);

    List<ExposureModel> getList(ExposureModel model);

    int getCount(ExposureModel model);


    List<CategoryModel> selectType();

}
